function signIn(){
    var url = './user.php?action=signIn';
    var login = $('#email').val();
    var password = $('#password').val();
    var post = {'login':login, 'password':password};
    $.post(url,post,function(response){
        if(response == 'OK!') $('#signIn-form').submit();
        else{
            $('#signIn-form').animate({ backgroundColor: "#ff4e4e" }, 400,function(){
                $('#signIn-form').animate({ backgroundColor: "white" }, 40);
            });
        }
    },'json');
}